package com.ygh.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@TableName("vip_left_menu")
public class VipLeftMenu implements Serializable {
    @TableId
    private Integer id;
    private Integer parentId;
    private String menuName;
    private Integer level;
    private String path;
    @TableField(exist = false)
    private List<VipLeftMenu> children;
}
